﻿using LiteExpress.Demo.Data;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace LiteExpress.Demo.Business.Services
{
    public class OrganService : IOrganService
    {
        private IOrganAdapter _orgAdapter;

        public OrganService(IOrganAdapter orgAdapter)
        {
            this._orgAdapter = orgAdapter;
        }

        public OrganEntity Select(long orgID)
        {
            var result = _orgAdapter.Select(orgID);
            return result;
        }
    }
}
